home *** CD-ROM | disk | FTP | other *** search
- -- card: 6230 from stack: in.0-4
- -- bmap block id: 16953
- -- flags: 0000
- -- background id: 7102
- -- name: Ex 3.2
-
-
- -- part 21 (button)
- -- low flags: 00
- -- high flags: 8005
- -- rect: left=161 top=123 right=145 bottom=428
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 174
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: One stack but no cards
- ----- HyperTalk script -----
- on mouseUp
- hide fld "feedback"
- put empty into fld "Feedback"
- set hilite of me to not hilite of me
- end mouseUp
-
-
-
- -- part 16 (button)
- -- low flags: 00
- -- high flags: 8005
- -- rect: left=161 top=147 right=169 bottom=428
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 174
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: One card from one stack
- ----- HyperTalk script -----
- on mouseUp
- hide fld "feedback"
- put empty into fld "Feedback"
- set hilite of me to not hilite of me
- end mouseUp
-
-
-
- -- part 18 (button)
- -- low flags: 00
- -- high flags: 8005
- -- rect: left=161 top=171 right=193 bottom=428
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 174
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Several cards from one stack
- ----- HyperTalk script -----
- on mouseUp
- hide fld "feedback"
- put empty into fld "Feedback"
- set hilite of me to not hilite of me
- end mouseUp
-
-
-
- -- part 19 (button)
- -- low flags: 00
- -- high flags: 8005
- -- rect: left=161 top=195 right=217 bottom=428
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 174
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Several stacks but only one card from each
- ----- HyperTalk script -----
- on mouseUp
- hide fld "feedback"
- put empty into fld "Feedback"
- set hilite of me to not hilite of me
- end mouseUp
-
-
-
- -- part 20 (button)
- -- low flags: 00
- -- high flags: 8005
- -- rect: left=161 top=220 right=242 bottom=428
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 174
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Several cards from each of several stacks
- ----- HyperTalk script -----
- on mouseUp
- hide fld "feedback"
- put empty into fld "Feedback"
- set hilite of me to not hilite of me
- end mouseUp
-
-
-
- -- part 13 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=402 top=296 right=316 bottom=462
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Done
- ----- HyperTalk script -----
- -- This handler checks the user's answer and provides feedback.
- -- The "ans" and "noAns" handlers are in the stack script.
-
- on mouseUp
- put empty into choices
-
- repeat with i=1 to 5
- put i into last char of ansName
- if the hilite of btn i is true then
- put i after choices
- end if
- end repeat
-
- if choices is fld "answer" then ans 1
- else if choices contains 3 or choices contains 5 then ans 3
- else if choices contains 1 then ans 2
- else if length(choices) is 0 then noAns
- else ans 4
- end mouseUp
-
-
-
- -- part 22 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=348 top=320 right=338 bottom=463
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Correct Answer
- ----- HyperTalk script -----
- -- This handler shows the correct answer.
- on mouseUp
- hideFeedback
- repeat with i=1 to 5
- set the hilite of btn i to false
- end repeat
- repeat 3
- set the hilite of btn 2 to false
- set the hilite of btn 4 to false
- wait 25
- set the hilite of btn 2 to true
- set the hilite of btn 4 to true
- wait 25
- end repeat
- ans 5
- end mouseUp
-
-
-
- -- part contents for background part 9
- ----- text -----
- 2 of 7
-
- -- part contents for background part 6
- ----- text -----
-
-
- With HyperCard 2.0, which of the following can be open at one time ?
-
- -- part contents for background part 19
- ----- text -----
- Correct. You can have several stacks open at once, but you can only show one card from each stack at one time.
- No, anytime a stack is open it has a card showing. Try again.
- No, you can only show a single card at one time from any given stack. Try again.
- You’re partially right, but there’s another choice that will work. Try again.
- This is the correct answer. You can only show a single card at one time from any given stack.
-
- -- part contents for background part 21
- ----- text -----
- 24